#
#
#
from pykd import findSymbol

def ptrFormat(ptr):
    sym = findSymbol(ptr)
    if sym == None:
        s = "%#x" % ptr
    else:
        s = sym + "  %#x" % ptr        
    return s